package cn.pomelo.secondskill.service;

import cn.pomelo.secondskill.model.UserInfo;
public interface UserInfoService{


    int deleteByPrimaryKey(Integer id,String openid);

    int insert(UserInfo record);

    int insertSelective(UserInfo record);

    UserInfo selectByPrimaryKey(Integer id,String openid);

    int updateByPrimaryKeySelective(UserInfo record);

    int updateByPrimaryKey(UserInfo record);

    UserInfo login(String openid);

    UserInfo selectByOpenid(String openid);
}
